package com.ruoyi.manage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 术中清点单记录增加明细对象 surgery_device_increasement
 * 
 * @author zww
 * @date 2025-07-08
 */
public class SurgeryDeviceIncreasement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 术中清点单记录增加明细id */
    private Long surgeryDeviceIncreasementId;

    /** 术中清点记录id */
    @Excel(name = "术中清点记录id")
    private Long surgeryDeviceDetailId;

    /** 增减量 */
    @Excel(name = "增减量")
    private String addNum;

    /** 增减修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "增减修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date increasementTime;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 0正常1删除 */
    private String delFlag;

    /** 增减类型1=增  -1=减 */
    @Excel(name = "增减类型1=增  -1=减")
    private Long sign;

    public void setSurgeryDeviceIncreasementId(Long surgeryDeviceIncreasementId) 
    {
        this.surgeryDeviceIncreasementId = surgeryDeviceIncreasementId;
    }

    public Long getSurgeryDeviceIncreasementId() 
    {
        return surgeryDeviceIncreasementId;
    }
    public void setSurgeryDeviceDetailId(Long surgeryDeviceDetailId) 
    {
        this.surgeryDeviceDetailId = surgeryDeviceDetailId;
    }

    public Long getSurgeryDeviceDetailId() 
    {
        return surgeryDeviceDetailId;
    }
    public void setAddNum(String addNum) 
    {
        this.addNum = addNum;
    }

    public String getAddNum() 
    {
        return addNum;
    }
    public void setIncreasementTime(Date increasementTime) 
    {
        this.increasementTime = increasementTime;
    }

    public Date getIncreasementTime() 
    {
        return increasementTime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setSign(Long sign) 
    {
        this.sign = sign;
    }

    public Long getSign() 
    {
        return sign;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("surgeryDeviceIncreasementId", getSurgeryDeviceIncreasementId())
            .append("surgeryDeviceDetailId", getSurgeryDeviceDetailId())
            .append("addNum", getAddNum())
            .append("increasementTime", getIncreasementTime())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("sign", getSign())
            .toString();
    }
}
